<%@ page language="java" pageEncoding="UTF-8"
	import="com.cdshop.web.PageUtil,com.cdshop.web.NavigatorService,com.cdshop.web.auth.AuthenticateService"%>
<%
	NavigatorService nav = NavigatorService.instance();
	if (AuthenticateService.instance().isLoggedIn(session)) {
		StringBuffer captureURL = nav.getCaptureURL(request);
		if (captureURL != null) {
			nav.redirect(request,response,captureURL.toString());
		} else {
			nav.forward(request, response, "/pages/info.jsp");
		}
	} else {
		nav.forward(request, response, "/page/login.jsp");
	}
%>